package com.sky.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "file")
public class CommonConfig {

  @Value(value = "${file.image.upload-dir}")
  private String uploadDir;

  @Value("${file.image.temp-dir}")
  private String temp;

}